//
//  LSZRequestDicData.m
//  PartyClassCloud
//
//  Created by 梁素珍 on 2018/8/15.
//  Copyright © 2018年 九酷. All rights reserved.
//

#import "LSZRequestDicData.h"

@implementation LSZRequestDicData


//#pragma mark - 获取问题
//+(void)initWithMutualProblem:(NSInteger)page :(HTTPMutualProblem)block
//{
//    NSMutableDictionary * dic = [[NSMutableDictionary alloc]initWithObjectsAndKeys:count_num10,@"pageSize",[NSString stringWithFormat:@"%ld",(long)page],@"pageNumber", nil];
//    NSString * string = [NSString stringWithFormat:@"%@%@",@"/question",@"/pageable"];
//    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * string, id diction) {
//        if (isOk == YES) {
//            LSZMutualProblemManager * mg = [[LSZMutualProblemManager alloc]initWithMutualProblem:diction];
//            block(YES,@"",mg);
//        }else{
//            block(NO,string,nil);
//        }
//    }];
//}
//#pragma mark - 互助界面我的问题
//+(void)initWithMutualProblemSelf:(NSInteger)page :(HTTPMutualProblem)block
//{
//    NSMutableDictionary * dic = [[NSMutableDictionary alloc]initWithObjectsAndKeys:count_num10,@"pageSize",[NSString stringWithFormat:@"%ld",(long)page],@"pageNumber", nil];
//    NSString * string = [NSString stringWithFormat:@"%@%@",@"/question/self",@"/pageable"];
//    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * string, id diction) {
//        if (isOk == YES) {
//            LSZMutualProblemManager * mg = [[LSZMutualProblemManager alloc]initWithMutualProblem:diction];
//            block(YES,@"",mg);
//        }else{
//            block(NO,string,nil);
//        }
//    }];
//}
//#pragma mark - 问题详情界面
//+(void)initWithDetailInterface:(NSString *)id_id :(HTTPQuestionerDetails)block
//{
//    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init];
//    NSString * string = [NSString stringWithFormat:@"%@%@",@"/answer/question/",id_id];
//    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * string, id diction) {
//        if (isOk == YES) {
//           LSZQuestionParticipantDetailsInterfaceManager * mg = [[LSZQuestionParticipantDetailsInterfaceManager alloc]initWithQuestionParticipantDetailsInterface:diction];
//            block(YES,@"",mg);
//        }else{
//            block(NO,string,nil);
//        }
//    }];
//}
//#pragma mark - 获取学习计划
//+(void)obtainStudyPlanDetails:(HTTPLearningCatalogue)block
//{
//    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init];
//    NSString * string = [NSString stringWithFormat:@"%@",@"/article/course/plan"];
//    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * string, id diction) {
//        if (isOk == YES) {
//            LSZLearningCatalogueManager * mg = [[LSZLearningCatalogueManager alloc]initWithLearningCatalogue:diction];
//            block(YES,@"",mg);
//        }else{
//            block(NO,string,nil);
//        }
//    }];
//}
//#pragma mark - 提交
//+(void)submitLiteratureClassification:(NSString *)id_id name:(NSString *)name coverUrl:(NSString *)coverUrl sortIndex:(NSString *)sortIndex :(HTTPLiteratureClassification)block
//{
//    NSMutableDictionary * dic = [[NSMutableDictionary alloc]initWithObjectsAndKeys:id_id,@"id",name,@"name",coverUrl,@"coverUrl",sortIndex,@"sortIndex", nil];
//    NSString * string = [NSString stringWithFormat:@"%@",@"/catalog/course/document"];
//    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * string, id diction) {
//        if (isOk == YES) {
//            LSZLiteratureClassificationManager * mg = [[LSZLiteratureClassificationManager alloc]initWithLiteratureClass:diction];
//            block(YES,@"",mg);
//        }else{
//            block(NO,string,nil);
//        }
//    }];
//}
//#pragma mark - 获取分类 文献资料 视频专题 随身听
//+(void)obtainClassificationData:(NSString *)url :(HTTPLiteratureClassification)block
//{
//    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init];
//    [LSZTotalRequest initWithGetNoEncryptionRequest:url :dic :^(BOOL isOk, NSString * string, id diction) {
//        if (isOk == YES) {
//            LSZLiteratureClassificationManager * mg = [[LSZLiteratureClassificationManager alloc]initWithLiteratureClass:diction];
//            block(YES,@"",mg);
//        }else{
//            block(NO,string,nil);
//        }
//    }];
//}
//#pragma mark - 资讯目录
//+(void)informationDirectory:(HTTPInformationDirectory)block
//{
//    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init];
//    NSString * string = [NSString stringWithFormat:@"%@",@"/catalog/article"];
//    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * string, id diction) {
//        if (isOk == YES) {
//            LSZInformationDirectoryManager * mg = [[LSZInformationDirectoryManager alloc]initWithInformationDirectory:diction];
//            block(YES,@"",mg);
//        }else{
//            block(NO,string,nil);
//        }
//    }];
//}
//#pragma mark - 资讯目录详情
//+(void)initWithDirectoryDetails:(NSString *)catalogId page:(NSInteger)page :(HTTPArticleDetails)block
//{
//    NSMutableDictionary * dic = [[NSMutableDictionary alloc]initWithObjectsAndKeys:count_num10,@"pageSize",[NSString stringWithFormat:@"%ld",(long)page],@"pageNumber", nil];
//    NSString * string = [NSString stringWithFormat:@"%@%@%@",@"/article/catalog/",catalogId,@"/pageable"];
//    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * string, id diction) {
//        if (isOk == YES) {
//            LSZArticleDetailsManager * mg = [[LSZArticleDetailsManager alloc]initWithArticleDetails:diction];
//            block(YES,@"",mg);
//        }else{
//            block(NO,string,nil);
//        }
//    }];
//}
//#pragma mark - 资料的二级界面
//+(void)secondaryInterfaceForData:(NSString *)string_id page:(NSInteger)page :(HTTPSecondaryInterface)block
//{
//    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init];
////    NSMutableDictionary * dic = [[NSMutableDictionary alloc]initWithObjectsAndKeys:count_num10,@"size",[NSString stringWithFormat:@"%ld",(long)page],@"page", nil];
//    NSString * string = [NSString stringWithFormat:@"%@%@",@"/course/catalog/",string_id];
//    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * string, id diction) {
//        if (isOk == YES) {
//            LSZSecondaryInterfaceManager * mg = [[LSZSecondaryInterfaceManager alloc]initWithSecondaryInterface:diction];
//            block(YES,@"",mg);
//        }else{
//            block(NO,string,nil);
//        }
//    }];
//}
//#pragma mark - 资料3级界面
//+(void)threeInterfaceForData:(NSString *)string_id :(HTTPTertiaryInterface)block
//{
//    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init];
//    NSString * string = [NSString stringWithFormat:@"%@%@",@"/chapter/course/",string_id];
//    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * string, id diction) {
//        if (isOk == YES) {
//            LSZTertiaryInterfaceManager * mg = [[LSZTertiaryInterfaceManager alloc]initWithTertiaryInterface:diction];
//            block(YES,@"",mg);
//        }else{
//            block(NO,string,nil);
//        }
//    }];
//}
//#pragma mark - 党务_组织机构
//+(void)getTheDepartmentOfEachAgency:(NSString *)id_id :(HTTPEachAgency)block
//{
//    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init];
//    NSString * string = [NSString stringWithFormat:@"%@%@",@"/branch/",id_id];
//    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * string, id diction) {
//        if (isOk == YES) {
//            LSZEachAgencyManager * mg = [[LSZEachAgencyManager alloc]initWithEachAgency:diction];
//            block(YES,@"",mg);
//        }else{
//            block(NO,string,nil);
//        }
//    }];
//}
//#pragma mark- 党务_三会一课获取联系人
//+(void)partyAffairsThirdMeetingOneClassGetContacts:(NSString *)ID :(HTTPThreeMeetingsContact)block
//{
//    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init];
//    NSString * string = [NSString stringWithFormat:@"%@%@",@"/customer/branch/",ID];
//    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * string, id diction) {
//        if (isOk == YES) {
//            LSZThreeMeetingsContactManager * mg = [[LSZThreeMeetingsContactManager alloc]initWithThreeMeetingsContact:diction];
//            block(YES,@"",mg);
//        }else{
//            block(NO,string,nil);
//        }
//    }];
//}
//#pragma mark - 三会一课_支部活动
//+(void)threeMeetingsAndOneClassBranchActivities:(NSString *)id_id :(HTTPPartyBranchActivities)block
//{
//    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init];
//    NSString * string = [NSString stringWithFormat:@"%@%@",@"/activity/branch/",id_id];
//    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * string, id diction) {
//        if (isOk == YES) {
//            LSZPartyBranchActivitiesManager * mg = [[LSZPartyBranchActivitiesManager alloc]initWithPartyBranchActivities:diction];
//            block(YES,@"",mg);
//        }else{
//            block(NO,string,nil);
//        }
//    }];
//}
//#pragma mark - 个人积分
//+(void)initWithMyPoints:(HTTPMyPoints)block
//{
//    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init];
//    NSString * string = [NSString stringWithFormat:@"%@",@"/customer/score"];
//    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * string, id diction) {
//        if (isOk == YES) {
//            LSZMyPointsManager * mg = [[LSZMyPointsManager alloc]initWithMyPoints:diction];
//            block(YES,@"",mg);
//        }else{
//            block(NO,string,nil);
//        }
//    }];
//}
//#pragma mark - 个人积分排名
//+(void)initWithIndividualRanking:(HTTPIndividualRanking)block
//{
//    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init];
//    NSString * string = [NSString stringWithFormat:@"%@",@"/customer/score/rank"];
//    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * string, id diction) {
//        if (isOk == YES) {
//            LSZIndividualRankingManager * mg = [[LSZIndividualRankingManager alloc]initWithIndividualRanking:diction];
//            block(YES,@"",mg);
//        }else{
//            block(NO,string,nil);
//        }
//    }];
//}
//#pragma mark - 支部积分排名
//+(void)initWithBranchPointsRanking:(HTTPBranchPoints)block
//{
//    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init];
//    NSString * string = [NSString stringWithFormat:@"%@",@"/branch/leaf"];
//    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * string, id diction) {
//        if (isOk == YES) {
//            LSZBranchPointsManager * mg = [[LSZBranchPointsManager alloc]initWithBranchPoints:diction];
//            block(YES,@"",mg);
//        }else{
//            block(NO,string,nil);
//        }
//    }];
//}
//#pragma mark- 收藏 HTTPCollection
//+(void)initWithCollection:(NSInteger)page :(HTTPArticleDetails)block
//{
////    NSMutableDictionary * dic = [[NSMutableDictionary alloc]initWithObjectsAndKeys:count_num10,@"size",[NSString stringWithFormat:@"%ld",(long)page],@"page", nil];
//    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init];
//    NSString * string = [NSString stringWithFormat:@"%@",@"/article/history/favor"];
//    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * string, id diction) {
//        if (isOk == YES) {
//            LSZArticleDetailsManager * mg = [[LSZArticleDetailsManager alloc]initWithArticleDetails:diction];
//            block(YES,@"",mg);
//        }else{
//            block(NO,string,nil);
//        }
//    }];
//}
//#pragma mark - 获取有那种试题类型
//+(void)getsThatEntityType:(NSInteger)page :(HTTPSecondaryInterface)block
//{
//    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init];
////    NSMutableDictionary * dic = [[NSMutableDictionary alloc]initWithObjectsAndKeys:count_num10,@"size",[NSString stringWithFormat:@"%ld",(long)page],@"page", nil];
//    NSString * string = [NSString stringWithFormat:@"%@",@"/paper"];
//    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * string, id diction) {
//        if (isOk == YES) {
//            LSZSecondaryInterfaceManager * MG = [[LSZSecondaryInterfaceManager alloc]initWithSecondaryInterface:diction];
//            block(YES,@"",MG);
//        }else{
//            block(NO,string,nil);
//        }
//    }];
//}
//#pragma mark -获取试题
//+(void)getForQuestions:(NSString *)ID_ID :(HTTPAnswerQuestionsDetails)block
//{
//    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init];
//    NSString * string = [NSString stringWithFormat:@"%@/%@",@"/exam/paper",ID_ID];
//    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * string, id diction) {
//        if (isOk == YES) {
//            LSZAnswerQuestionsDetailsManager * mg = [[LSZAnswerQuestionsDetailsManager alloc]initWithAnswerQuestionsDetails:diction];
//            block(YES,@"",mg);
//        }else{
//            block(NO,string,nil);
//        }
//    }];
//}
//#pragma mark - 获取三会一课类型
//+(void)initWithThreeSessionsClassType:(HTTPThreeSessionsClassType)block
//{
//    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init];
//    NSString * string = [NSString stringWithFormat:@"%@",@"/catalog/activity3"];
//    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * str, id diction) {
//        if (isOk == YES) {
//            LSZThreeSessionsClassTypeManager * mg = [[LSZThreeSessionsClassTypeManager alloc]initWithThreeSessionsClassType:diction];
//            block(YES,@"",mg);
//        }else{
//            block(NO,string,nil);
//        }
//    }];
//}
@end
